﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="5002-1.aspx.cs" Inherits="_50_5002_1" validateRequest="false" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
	<title></title>
	<link type="text/css" href="../css/innerbox.css" rel="Stylesheet" />
</head>
<body>
	<form id="form1" runat="server">
	<asp:HiddenField ID="hidd_no" runat="server" />
	<div id="Div1" class="bg">
		<div class="clr">
		</div>
		<div class="top_main3" style="margin-left: 29px;">
			<p>
				<asp:Label ID="lab_title" runat="server"></asp:Label></p>
		</div>
		<div class="clr">
		    <asp:ObjectDataSource ID="ObjectDataSource1" runat="server" 
                OldValuesParameterFormatString="original_{0}" 
                SelectMethod="Get_classification_AllData" TypeName="CCH.DAO.classificationDAO">
                <SelectParameters>
                    <asp:Parameter DefaultValue="5004" Name="cla_sfuno" Type="Int32" />
                </SelectParameters>
            </asp:ObjectDataSource>
		</div>
		<div class="datatable" style="height:280px" >
			<table width="100%" bgcolor="#FFFFFF" class="datatable-2">
				<tr>
					<td align="right" class="table-top2">
						影片分類
					</td>
					<td bgcolor="#FFFFFF" class="table-b">
						<asp:DropDownList ID="DropDownList1" runat="server" 
                            DataSourceID="ObjectDataSource1" DataTextField="cla_name" 
                            DataValueField="cla_no">
                        </asp:DropDownList>
					    <asp:Label ID="Label5" runat="server" ForeColor="Red" 
                            Text="要新增類別，請至【系統管理 / 類別管理】新增"></asp:Label>
					</td>
				</tr>
                <tr>
					<td align="right" class="table-top2">
						youtube影片網址
					</td>
					<td bgcolor="#FFFFFF" class="table-b">
						<asp:TextBox ID="tbox_link" runat="server" MaxLength="200" Width="500px"></asp:TextBox>
					    <br />
                        <br />
                        例如: http://youtube.com/watch?v=_Ez5QPW-ku4
					</td>
				</tr>
				<tr>
					<td align="right" class="table-top2">
						影片名稱
						</td>
					<td bgcolor="#FFFFFF" class="table-b">
						<asp:TextBox ID="tbox_name" runat="server" MaxLength="200"
                            Width="500px"></asp:TextBox>
					</td>
				</tr>
				<tr>
					<td align="right" class="table-top2">
						影片描述
					</td>
					<td bgcolor="#FFFFFF" class="table-b">
						<asp:TextBox ID="tbox_desc" runat="server" Height="150px" 
							TextMode="MultiLine" Width="500px" MaxLength="200"></asp:TextBox>
					</td>
				</tr>
			</table>
			<div style="height:15px"></div>
			<div class="pager" align="center">
				<asp:Button ID="btn_ok" runat="server" CssClass="input-OK" Text="確定" 
					onclick="btn_ok_Click" />&nbsp;
				<asp:Button ID="btn_cancel" runat="server" CssClass="input-no" Text="取消" OnClientClick="self.parent.tb_remove()"
					UseSubmitBehavior="False" />
			</div>
			
			<div style="height:15px"></div>
		</div>
		
	</div>
	</form>
</body>
</html>
